package cn.dgut.springboot.mini.vo;

import cn.dgut.springboot.mini.entity.Account;
import cn.dgut.springboot.mini.entity.Customer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.time.LocalDate;
import java.util.Set;

/**
 * @author 周智涛
 * @Description
 * @date 2019/12/12 14:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerVo {

    private Long id;

    private String name;

    private LocalDate brith;

    @Column(length = 20)
    private String phone;

}
